/**  
 * All rights Reserved, Designed By www.woniuxy.com
 * @Title:  Account.java   
 * @Package com.woniu.domain   
 * @Description:    Description  
 * @author: 蜗牛学院  
 * @date:   2019年8月22日 下午4:08:35
 * @user:   Administrator  
 * @version V1.0 
 * @Copyright: 2019 www.woniuxy.com Inc. All rights reserved. 
 * 注意：本内容仅限于成都蜗牛创想科技有限公司，禁止外泄以及用于其他的商业目
 */ 
package com.woniu.ssh.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * @author Administrator
 *
 */
@Entity
@Table(name="manager")
public class Manager {
	private int mid;
	private String uname;
	private String upwd;
	private String realname;
	private String tel;
	/**
	 * @return the mid
	 */
	@Id
	@GeneratedValue
	public int getMid() {
		return mid;
	}
	/**
	 * @param mid the mid to set
	 */
	public void setMid(int mid) {
		this.mid = mid;
	}
	/**
	 * @return the uname
	 */
	public String getUname() {
		return uname;
	}
	/**
	 * @param uname the uname to set
	 */
	public void setUname(String uname) {
		this.uname = uname;
	}
	/**
	 * @return the upwd
	 */
	public String getUpwd() {
		return upwd;
	}
	/**
	 * @param upwd the upwd to set
	 */
	public void setUpwd(String upwd) {
		this.upwd = upwd;
	}
	/**
	 * @return the realname
	 */
	public String getRealname() {
		return realname;
	}
	/**
	 * @param realname the realname to set
	 */
	public void setRealname(String realname) {
		this.realname = realname;
	}
	/**
	 * @return the tel
	 */
	public String getTel() {
		return tel;
	}
	/**
	 * @param tel the tel to set
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}
	@Override
	public String toString() {
		return "Manager [mid=" + mid + ", uname=" + uname + ", upwd=" + upwd + ", realname=" + realname + ", tel=" + tel
				+ "]";
	}
	public Manager(int mid, String uname, String upwd, String realname, String tel) {
		super();
		this.mid = mid;
		this.uname = uname;
		this.upwd = upwd;
		this.realname = realname;
		this.tel = tel;
	}
	public Manager(String uname, String upwd, String realname, String tel) {
		super();
		this.uname = uname;
		this.upwd = upwd;
		this.realname = realname;
		this.tel = tel;
	}
	public Manager() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
